<?php
/**
 * Elgg csv user import
 */
$KTPM = 1;
$KHMT = 2;
$MMTTT = 3;
$HTTT = 4;
define('KTPM', 1);
define('CNPM', 1);
define('KHMT', 2);
define('MMTTT', 3);
define('HTTT', 4);
define('ANTT', 5);
define('CNTN', 6);

elgg_register_event_handler('init', 'system', 'userimport_init');

function userimport_init() {

	// Admin menu link
	elgg_register_admin_menu_item('administer', 'import', 'users');

	// Register the import action
	$base = elgg_get_plugins_path() . 'userimport/actions/userimport';
	elgg_register_action('userimport/import', "$base/import.php", 'admin');
}
